package com.ruoyi.jiugongge.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

/**
 * 九宫格奖品配置表 wxact_jiugongge_relation
 * 
 * @author lzy
 * @date 2019-01-21
 */
public class JiugonggeRelation extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** ID */
	private String id;
	/** 奖品ID */
	private String prizeId;
	/** 活动ID */
	private String actId;
	/** 公众号原始ID */
	private String jwid;
	/** 奖项ID */
	private String awardId;
	/** 数量 */
	private Integer amount;
	/** 剩余数量 */
	private Integer remainNum;
	/** 中奖概率 */
	private Double probability;
	
	private String awardName;//奖项名称
	
	private String prizeName;//奖品名称
	

	
	
	public String getPrizeName() {
		return prizeName;
	}

	public void setPrizeName(String prizeName) {
		this.prizeName = prizeName;
	}

	public String getAwardName() {
		return awardName;
	}

	public void setAwardName(String awardName) {
		this.awardName = awardName;
	}

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setPrizeId(String prizeId) 
	{
		this.prizeId = prizeId;
	}

	public String getPrizeId() 
	{
		return prizeId;
	}
	public void setActId(String actId) 
	{
		this.actId = actId;
	}

	public String getActId() 
	{
		return actId;
	}
	public void setJwid(String jwid) 
	{
		this.jwid = jwid;
	}

	public String getJwid() 
	{
		return jwid;
	}
	public void setAwardId(String awardId) 
	{
		this.awardId = awardId;
	}

	public String getAwardId() 
	{
		return awardId;
	}
	public void setAmount(Integer amount) 
	{
		this.amount = amount;
	}

	public Integer getAmount() 
	{
		return amount;
	}
	public void setRemainNum(Integer remainNum) 
	{
		this.remainNum = remainNum;
	}

	public Integer getRemainNum() 
	{
		return remainNum;
	}
	public void setProbability(Double probability) 
	{
		this.probability = probability;
	}

	public Double getProbability() 
	{
		return probability;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("prizeId", getPrizeId())
            .append("actId", getActId())
            .append("jwid", getJwid())
            .append("awardId", getAwardId())
            .append("amount", getAmount())
            .append("remainNum", getRemainNum())
            .append("probability", getProbability())
            .toString();
    }
}
